Skip to content

Conversation

@adamziel
Copy link
Collaborator

@adamziel adamziel commented Nov 1, 2025

Description TBD

Solves a TCP<->fetch() issue where query strings were being double-encoded and duplicated.

When PHP tried to request `/core/version-check/1.7/?channel=beta` via
file_get_contents(), parseHttpRequest() would source an invalid URL
for fetch(): `/core/version-check/1.7/%3Fchannel=beta?channel=beta`

This is caused by a redundant and incorrect assignment `url.pathname = parsedHeaders.path;`
that this PR removes.

 ## Testing instructions

CI
@adamziel adamziel force-pushed the blueprints-v2-overrides branch from 6c48c87 to aa024f4 Compare November 1, 2025 23:47
Base automatically changed from tcp-proxy-url-producing to trunk November 1, 2025 23:47
@adamziel adamziel force-pushed the blueprints-v2-overrides branch from f4ed3c1 to ec0e554 Compare November 2, 2025 00:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants